package InnerClass;

/**
 * @author BianWenKai
 * @DATE 2021/8/29 - 13:51
 **/
public class UseClass {

    private String name;
    private int age;

    public void hello(){
        System.out.println("Hello,World!");
    }

    //成员内部类
    public class InnerClass{
        private String sex;

        public void Hi(){
            System.out.println("Hello,Java!");
        }
    }

    //静态内部内
    public static class InnerClassTwo{
        public void Hi(){
            System.out.println("Hello,Class!");
        }
    }

    //局部内部内
    public void test(){
        class InnerClass{

        }
    }

}
